// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false

// 引入字体图标 

import  './assets/fonts/iconfont.css'

// 引入完整 element-ui框架 

// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';
// Vue.use(ElementUI);


// 引入axios  并且 在vue 的原型对象上绑定axios

// import axios from 'axios'
import axios from './api/index'

// Vue.prototype.$Axios =axios

Vue.prototype.$http=axios



// 按需引入 element-ui 
import element from './plugins/element'


import store from './store/index'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
